﻿#pragma once

#include <QLineEdit>

class LineEdit_ThermostatRate : public QLineEdit
{
  Q_OBJECT
private:
  int accuracy = 4;
public:
  LineEdit_ThermostatRate(QWidget *parent);
  ~LineEdit_ThermostatRate();

  float getRate();
  void setRate(float rate);
private slots:
  void slot_thermostatRateLineEditFinished();
public:
  int getAccuracy();
  void setAccuracy(int accuracy);
};
